package com.quectel.core.module.grid.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author bob
 * @email bob.yu@quectel.com
 * @date 2023/02/03 15:45
 */
@Data
@Schema
public class GridMemberDto implements Serializable {

    /**
     *
     */
    @Schema(description = "")
    private Long id;

    /**
     *
     */
    @Schema(description = "")
    private Long tenantId;

    /**
     * 工号
     */
    @Schema(description = "工号")
    private String jobNo;

    /**
     * 头像
     */
    @Schema(description = "头像")
    private String headImg;

    /**
     * 昵称
     */
    @Schema(description = "昵称")
    private String nickname;

    /**
     * 网格员名称
     */
    @Schema(description = "网格员名称")
    private String name;

    /**
     * 手机号
     */
    @Schema(description = "手机号")
    private String mobile;

    /**
     * 密码
     */
    @Schema(description = "密码")
    private String password;

    /**
     * 性别1男0女
     */
    @Schema(description = "性别1男0女")
    private Byte gender;

    /**
     * 证件类型1身份证2护照3…
     */
    @Schema(description = "证件类型1身份证2护照3…")
    private Byte cardType;

    /**
     * 证件号
     */
    @Schema(description = "证件号")
    private String cardNo;

    /**
     * 人员类型 1xxx 2xxx
     */
    @Schema(description = "人员类型 1xxx 2xxx")
    private Byte type;

    /**
     * 1启用0禁用
     */
    @Schema(description = "1启用0禁用")
    private Byte status;

    /**
     *
     */
    @Schema(description = "")
    private String creator;

    /**
     *
     */
    @Schema(description = "")
    private Date createTime;

    /**
     *
     */
    @Schema(description = "")
    private String editor;

    /**
     *
     */
    @Schema(description = "")
    private Date editTime;

    /************非数据库字段 start ************/
    @Schema(description = "网格列表")
    private List<GridDto> gridList;

    @Schema(description = "多网格名称拼接")
    private String gridNameString;

    @Schema(description = "网格数量")
    private Integer gridCount;
    /************非数据库字段 end **************/
}
